﻿<%@ Page Title="" Language="C#" MasterPageFile="~/home.master" AutoEventWireup="true" CodeFile="Default.aspx.cs" Inherits="_Default" %>

<asp:Content ID="Content1" ContentPlaceHolderID="head" runat="Server">
</asp:Content>
<asp:Content ID="Content2" ContentPlaceHolderID="ContentPlaceHolder1" runat="Server">
    <div id="navigation_center"><a href="Default.aspx">Home</a></div>

    <div class="box_main">

        <div class="title">
            <div class="title_img1"></div>
            <div class="title_img2">
                <p>Ecards New</p>
            </div>
            <div class="title_img3"></div>
            <div class="title_img4"></div>
            <div class="title_img5"></div>
        </div>
        <asp:Repeater ID="Repeater1" runat="server">
            <ItemTemplate>
                <div class="box_ecard">
                    <div class="image">
                        <a href="ViewEcard.aspx?id=<%#Eval("ecardId") %>">
                            <img src="<%#Eval("urlImage")  %>" height="117" width="120" /></a>
                    </div>
                    <div class="name"><%#Eval("ecardName") %></div>
                    <div class="date"><%# string.Format("{0:MM/dd/yyyy}",Eval("addDate")) %></div>
                    <div class="count"><%#Eval("counts") +" sent"%></div>
                </div>
            </ItemTemplate>
        </asp:Repeater>

    </div>
    <div class="box_main">

        <div class="title">
            <div class="title_img1"></div>
            <div class="title_img2">
                <p>Ecards Most Sent</p>
            </div>
            <div class="title_img3"></div>
            <div class="title_img4"></div>
            <div class="title_img5"></div>
        </div>
        <asp:Repeater ID="Repeater2" runat="server">
            <ItemTemplate>
                <div class="box_ecard">
                    <div class="image">
                        <a href="ViewEcard.aspx?id=<%#Eval("ecardId") %>">
                            <img src="<%#Eval("urlImage")  %>" height="117" width="120" /></a>
                    </div>
                    <div class="name"><%#Eval("ecardName") %></div>
                    <div class="date"><%# string.Format("{0:MM/dd/yyyy}",Eval("addDate")) %></div>
                    <div class="count"><%#Eval("counts") +" sent"%></div>
                </div>
            </ItemTemplate>
        </asp:Repeater>

    </div>
</asp:Content>

